<div [@routerTransition]>
    <div class="content d-flex flex-column flex-column-fluid">
        <sub-header [title]="'Tags' | localize" [description]="'TagsManage' | localize">
            <div role="actions">
                <button (click)="createTag()" *ngIf="isGranted('Pages.Tenant.Tags.Create')" class="btn btn-primary"><i
                        class="fa fa-plus"></i> {{"CreateNewTag" | localize}}</button>
            </div>
        </sub-header>

        <div [class]="containerClass">
            <div class="card card-custom gutter-b">
                <div class="card-body">
                    <tabset class="tab-container tabbable-line">
                        <!-- Resource = 0,Device = 1,Product = 2,Ads = 3,Other = 4,Brand = 5,Question = 6,Counter = 7,WechatPublicMessage = 8 -->
                        <!-- tagType 0 1 2 3 4 5 6 7 8 -->
                        <tab heading="{{l('ResourceTag')}}" class="pt-5" (selectTab)="tabChange(0)">
                            <div class="row">
                                <form class="horizontal-form" autocomplete="off" style="width:100%;">
                                    <div class="m-form">
                                        <div class="row align-items-center mb-4">
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <input [(ngModel)]="filterText" name="filterText" autoFocus
                                                            class="form-control m-input" (keyup.enter)="getTags()"
                                                            [placeholder]="l('SearchWithThreeDot')" type="text">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <select class="form-control" [(ngModel)]="tagType" name="tagType">
                                                            <option value selected>{{l("All")}}</option>
                                                            <option [value]="type" *ngFor="let type of Type2s">
                                                                {{l(Type[type])}}</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-2">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <button type="button" class="btn btn-primary"
                                                            [buttonBusy]="primengTableHelper.isLoading" (click)="getTags()">
                                                            <i class="la la-refresh"></i>
                                                            {{l("search")}}
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="row align-items-center">
                                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                    <p-table #dataTable (onLazyLoad)="getTags($event)" [value]="primengTableHelper.records"
                                        [rows]="primengTableHelper.defaultRecordsCountPerPage" [paginator]="false" [lazy]="true"
                                        [resizableColumns]="primengTableHelper.resizableColumns"
                                        [responsive]="primengTableHelper.isResponsive">
                                        <ng-template pTemplate="header">
                                            <tr>
                                                <th style="width:10%">{{l('Actions')}}</th>
                                                <th style="width:5%">{{l('RecordId')}}</th>
                                                <th>{{l('Id')}}</th>
                                                <th>{{l('name')}}</th>
                                                <th>{{l('type')}}</th>
                                                <th>{{l('isFromBrand')}}</th>
                                                <th>{{l('isSpecial')}}</th>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="body" let-record let-i="rowIndex">
                                            <tr>
                                                <td>
                                                    <div class="btn-group dropdown" dropdown normalizePosition>
                                                        <button class="dropdown-toggle btn btn-sm btn-primary" dropdownToggle
                                                            aria-haspopup="true" aria-expanded="false">
                                                            <i class="fa fa-cog"></i>
                                                            <span class="caret"></span> {{l("Actions")}}
                                                        </button>
                                                        <ul class="dropdown-menu" *dropdownMenu>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Edit')">
                                                                <a class="icon-bianji dropdown-item"
                                                                    (click)="editTag(record)">{{l('Edit')}}</a>
                                                            </li>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Delete')">
                                                                <a class="icon-icon-test dropdown-item"
                                                                    (click)="deleteTag(record)">{{l('Delete')}}</a>
                                                            </li>
        
                                                        </ul>
                                                    </div>
                                                </td>
                                                <td> {{transIndex(i)}}</td>
                                                <td>{{l(record.id)}}</td>
                                                <td>{{record.value}}</td>
                                                <td>
                                                    <span *ngIf="record.type==null">{{l('unknown')}}</span>
                                                    <span *ngIf="record.type!=null"></span>{{l(Type[record.type]||'')}}
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isFromBrand"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isFromBrand"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isSpecial"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isSpecial"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="emptymessage" let-records>
                                            <tr *ngIf="primengTableHelper.records">
                                                <td colspan="7">
                                                    <img class="emptymessage"
                                                        src="/assets/common/images/placeholder/tagHolder.png" />
                                                </td>
                                            </tr>
                                        </ng-template>
                                    </p-table>
                                    <div class="primeng-paging-container">
                                        <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                                            (onPageChange)="getTags($event)"
                                            [totalRecords]="primengTableHelper.totalRecordsCount"
                                            [rowsPerPageOptions]="primengTableHelper.predefinedRecordsCountPerPage">
                                        </p-paginator>
                                        <span class="total-records-count">
                                            {{l('TotalRecordsCount', primengTableHelper.totalRecordsCount)}}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </tab>
                        <tab heading="{{l('DeviceTag')}}" class="pt-5" (selectTab)="tabChange(1)">
                            <div class="row">
                                <form class="horizontal-form" autocomplete="off" style="width:100%;">
                                    <div class="m-form">
                                        <div class="row align-items-center mb-4">
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <input [(ngModel)]="filterText" name="filterText" autoFocus
                                                            class="form-control m-input" (keyup.enter)="getTags()"
                                                            [placeholder]="l('SearchWithThreeDot')" type="text">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <select class="form-control" [(ngModel)]="tagType" name="tagType">
                                                            <option value selected>{{l("All")}}</option>
                                                            <option [value]="type" *ngFor="let type of Type2s">
                                                                {{l(Type[type])}}</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-2">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <button type="button" class="btn btn-primary"
                                                            [buttonBusy]="primengTableHelper.isLoading" (click)="getTags()">
                                                            <i class="la la-refresh"></i>
                                                            {{l("search")}}
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="row align-items-center">
                                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                    <p-table #dataTable (onLazyLoad)="getTags($event)" [value]="primengTableHelper.records"
                                        [rows]="primengTableHelper.defaultRecordsCountPerPage" [paginator]="false" [lazy]="true"
                                        [resizableColumns]="primengTableHelper.resizableColumns"
                                        [responsive]="primengTableHelper.isResponsive">
                                        <ng-template pTemplate="header">
                                            <tr>
                                                <th style="width:10%">{{l('Actions')}}</th>
                                                <th style="width:5%">{{l('RecordId')}}</th>
                                                <th>{{l('Id')}}</th>
                                                <th>{{l('name')}}</th>
                                                <th>{{l('type')}}</th>
                                                <th>{{l('isFromBrand')}}</th>
                                                <th>{{l('isSpecial')}}</th>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="body" let-record let-i="rowIndex">
                                            <tr>
                                                <td>
                                                    <div class="btn-group dropdown" dropdown normalizePosition>
                                                        <button class="dropdown-toggle btn btn-sm btn-primary" dropdownToggle
                                                            aria-haspopup="true" aria-expanded="false">
                                                            <i class="fa fa-cog"></i>
                                                            <span class="caret"></span> {{l("Actions")}}
                                                        </button>
                                                        <ul class="dropdown-menu" *dropdownMenu>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Edit')">
                                                                <a class="icon-bianji dropdown-item"
                                                                    (click)="editTag(record)">{{l('Edit')}}</a>
                                                            </li>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Delete')">
                                                                <a class="icon-icon-test dropdown-item"
                                                                    (click)="deleteTag(record)">{{l('Delete')}}</a>
                                                            </li>
        
                                                        </ul>
                                                    </div>
                                                </td>
                                                <td> {{transIndex(i)}}</td>
                                                <td>{{l(record.id)}}</td>
                                                <td>{{record.value}}</td>
                                                <td>
                                                    <span *ngIf="record.type==null">{{l('unknown')}}</span>
                                                    <span *ngIf="record.type!=null"></span>{{l(Type[record.type]||'')}}
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isFromBrand"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isFromBrand"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isSpecial"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isSpecial"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="emptymessage" let-records>
                                            <tr *ngIf="primengTableHelper.records">
                                                <td colspan="7">
                                                    <img class="emptymessage"
                                                        src="/assets/common/images/placeholder/tagHolder.png" />
                                                </td>
                                            </tr>
                                        </ng-template>
                                    </p-table>
                                    <div class="primeng-paging-container">
                                        <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                                            (onPageChange)="getTags($event)"
                                            [totalRecords]="primengTableHelper.totalRecordsCount"
                                            [rowsPerPageOptions]="primengTableHelper.predefinedRecordsCountPerPage">
                                        </p-paginator>
                                        <span class="total-records-count">
                                            {{l('TotalRecordsCount', primengTableHelper.totalRecordsCount)}}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </tab>
                        <tab heading="{{l('ProductTag')}}" class="pt-5" (selectTab)="tabChange(2)">
                            <div class="row">
                                <form class="horizontal-form" autocomplete="off" style="width:100%;">
                                    <div class="m-form">
                                        <div class="row align-items-center mb-4">
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <input [(ngModel)]="filterText" name="filterText" autoFocus
                                                            class="form-control m-input" (keyup.enter)="getTags()"
                                                            [placeholder]="l('SearchWithThreeDot')" type="text">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <select class="form-control" [(ngModel)]="tagType" name="tagType">
                                                            <option value selected>{{l("All")}}</option>
                                                            <option [value]="type" *ngFor="let type of Type2s">
                                                                {{l(Type[type])}}</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-2">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <button type="button" class="btn btn-primary"
                                                            [buttonBusy]="primengTableHelper.isLoading" (click)="getTags()">
                                                            <i class="la la-refresh"></i>
                                                            {{l("search")}}
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="row align-items-center">
                                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                    <p-table #dataTable (onLazyLoad)="getTags($event)" [value]="primengTableHelper.records"
                                        [rows]="primengTableHelper.defaultRecordsCountPerPage" [paginator]="false" [lazy]="true"
                                        [resizableColumns]="primengTableHelper.resizableColumns"
                                        [responsive]="primengTableHelper.isResponsive">
                                        <ng-template pTemplate="header">
                                            <tr>
                                                <th style="width:10%">{{l('Actions')}}</th>
                                                <th style="width:5%">{{l('RecordId')}}</th>
                                                <th>{{l('Id')}}</th>
                                                <th>{{l('name')}}</th>
                                                <th>{{l('type')}}</th>
                                                <th>{{l('isFromBrand')}}</th>
                                                <th>{{l('isSpecial')}}</th>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="body" let-record let-i="rowIndex">
                                            <tr>
                                                <td>
                                                    <div class="btn-group dropdown" dropdown normalizePosition>
                                                        <button class="dropdown-toggle btn btn-sm btn-primary" dropdownToggle
                                                            aria-haspopup="true" aria-expanded="false">
                                                            <i class="fa fa-cog"></i>
                                                            <span class="caret"></span> {{l("Actions")}}
                                                        </button>
                                                        <ul class="dropdown-menu" *dropdownMenu>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Edit')">
                                                                <a class="icon-bianji dropdown-item"
                                                                    (click)="editTag(record)">{{l('Edit')}}</a>
                                                            </li>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Delete')">
                                                                <a class="icon-icon-test dropdown-item"
                                                                    (click)="deleteTag(record)">{{l('Delete')}}</a>
                                                            </li>
        
                                                        </ul>
                                                    </div>
                                                </td>
                                                <td> {{transIndex(i)}}</td>
                                                <td>{{l(record.id)}}</td>
                                                <td>{{record.value}}</td>
                                                <td>
                                                    <span *ngIf="record.type==null">{{l('unknown')}}</span>
                                                    <span *ngIf="record.type!=null"></span>{{l(Type[record.type]||'')}}
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isFromBrand"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isFromBrand"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isSpecial"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isSpecial"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="emptymessage" let-records>
                                            <tr *ngIf="primengTableHelper.records">
                                                <td colspan="7">
                                                    <img class="emptymessage"
                                                        src="/assets/common/images/placeholder/tagHolder.png" />
                                                </td>
                                            </tr>
                                        </ng-template>
                                    </p-table>
                                    <div class="primeng-paging-container">
                                        <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                                            (onPageChange)="getTags($event)"
                                            [totalRecords]="primengTableHelper.totalRecordsCount"
                                            [rowsPerPageOptions]="primengTableHelper.predefinedRecordsCountPerPage">
                                        </p-paginator>
                                        <span class="total-records-count">
                                            {{l('TotalRecordsCount', primengTableHelper.totalRecordsCount)}}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </tab>
                        <tab heading="{{l('AdsTag')}}" class="pt-5" (selectTab)="tabChange(3)">
                            <div class="row">
                                <form class="horizontal-form" autocomplete="off" style="width:100%;">
                                    <div class="m-form">
                                        <div class="row align-items-center mb-4">
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <input [(ngModel)]="filterText" name="filterText" autoFocus
                                                            class="form-control m-input" (keyup.enter)="getTags()"
                                                            [placeholder]="l('SearchWithThreeDot')" type="text">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <select class="form-control" [(ngModel)]="tagType" name="tagType">
                                                            <option value selected>{{l("All")}}</option>
                                                            <option [value]="type" *ngFor="let type of Type2s">
                                                                {{l(Type[type])}}</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-2">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <button type="button" class="btn btn-primary"
                                                            [buttonBusy]="primengTableHelper.isLoading" (click)="getTags()">
                                                            <i class="la la-refresh"></i>
                                                            {{l("search")}}
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="row align-items-center">
                                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                    <p-table #dataTable (onLazyLoad)="getTags($event)" [value]="primengTableHelper.records"
                                        [rows]="primengTableHelper.defaultRecordsCountPerPage" [paginator]="false" [lazy]="true"
                                        [resizableColumns]="primengTableHelper.resizableColumns"
                                        [responsive]="primengTableHelper.isResponsive">
                                        <ng-template pTemplate="header">
                                            <tr>
                                                <th style="width:10%">{{l('Actions')}}</th>
                                                <th style="width:5%">{{l('RecordId')}}</th>
                                                <th>{{l('Id')}}</th>
                                                <th>{{l('name')}}</th>
                                                <th>{{l('type')}}</th>
                                                <th>{{l('isFromBrand')}}</th>
                                                <th>{{l('isSpecial')}}</th>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="body" let-record let-i="rowIndex">
                                            <tr>
                                                <td>
                                                    <div class="btn-group dropdown" dropdown normalizePosition>
                                                        <button class="dropdown-toggle btn btn-sm btn-primary" dropdownToggle
                                                            aria-haspopup="true" aria-expanded="false">
                                                            <i class="fa fa-cog"></i>
                                                            <span class="caret"></span> {{l("Actions")}}
                                                        </button>
                                                        <ul class="dropdown-menu" *dropdownMenu>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Edit')">
                                                                <a class="icon-bianji dropdown-item"
                                                                    (click)="editTag(record)">{{l('Edit')}}</a>
                                                            </li>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Delete')">
                                                                <a class="icon-icon-test dropdown-item"
                                                                    (click)="deleteTag(record)">{{l('Delete')}}</a>
                                                            </li>
        
                                                        </ul>
                                                    </div>
                                                </td>
                                                <td> {{transIndex(i)}}</td>
                                                <td>{{l(record.id)}}</td>
                                                <td>{{record.value}}</td>
                                                <td>
                                                    <span *ngIf="record.type==null">{{l('unknown')}}</span>
                                                    <span *ngIf="record.type!=null"></span>{{l(Type[record.type]||'')}}
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isFromBrand"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isFromBrand"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isSpecial"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isSpecial"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="emptymessage" let-records>
                                            <tr *ngIf="primengTableHelper.records">
                                                <td colspan="7">
                                                    <img class="emptymessage"
                                                        src="/assets/common/images/placeholder/tagHolder.png" />
                                                </td>
                                            </tr>
                                        </ng-template>
                                    </p-table>
                                    <div class="primeng-paging-container">
                                        <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                                            (onPageChange)="getTags($event)"
                                            [totalRecords]="primengTableHelper.totalRecordsCount"
                                            [rowsPerPageOptions]="primengTableHelper.predefinedRecordsCountPerPage">
                                        </p-paginator>
                                        <span class="total-records-count">
                                            {{l('TotalRecordsCount', primengTableHelper.totalRecordsCount)}}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </tab>
                        <tab heading="{{l('OtherTag')}}" class="pt-5" (selectTab)="tabChange(4)">
                            <div class="row">
                                <form class="horizontal-form" autocomplete="off" style="width:100%;">
                                    <div class="m-form">
                                        <div class="row align-items-center mb-4">
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <input [(ngModel)]="filterText" name="filterText" autoFocus
                                                            class="form-control m-input" (keyup.enter)="getTags()"
                                                            [placeholder]="l('SearchWithThreeDot')" type="text">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <select class="form-control" [(ngModel)]="tagType" name="tagType">
                                                            <option value selected>{{l("All")}}</option>
                                                            <option [value]="type" *ngFor="let type of Type2s">
                                                                {{l(Type[type])}}</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-2">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <button type="button" class="btn btn-primary"
                                                            [buttonBusy]="primengTableHelper.isLoading" (click)="getTags()">
                                                            <i class="la la-refresh"></i>
                                                            {{l("search")}}
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="row align-items-center">
                                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                    <p-table #dataTable (onLazyLoad)="getTags($event)" [value]="primengTableHelper.records"
                                        [rows]="primengTableHelper.defaultRecordsCountPerPage" [paginator]="false" [lazy]="true"
                                        [resizableColumns]="primengTableHelper.resizableColumns"
                                        [responsive]="primengTableHelper.isResponsive">
                                        <ng-template pTemplate="header">
                                            <tr>
                                                <th style="width:10%">{{l('Actions')}}</th>
                                                <th style="width:5%">{{l('RecordId')}}</th>
                                                <th>{{l('Id')}}</th>
                                                <th>{{l('name')}}</th>
                                                <th>{{l('type')}}</th>
                                                <th>{{l('isFromBrand')}}</th>
                                                <th>{{l('isSpecial')}}</th>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="body" let-record let-i="rowIndex">
                                            <tr>
                                                <td>
                                                    <div class="btn-group dropdown" dropdown normalizePosition>
                                                        <button class="dropdown-toggle btn btn-sm btn-primary" dropdownToggle
                                                            aria-haspopup="true" aria-expanded="false">
                                                            <i class="fa fa-cog"></i>
                                                            <span class="caret"></span> {{l("Actions")}}
                                                        </button>
                                                        <ul class="dropdown-menu" *dropdownMenu>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Edit')">
                                                                <a class="icon-bianji dropdown-item"
                                                                    (click)="editTag(record)">{{l('Edit')}}</a>
                                                            </li>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Delete')">
                                                                <a class="icon-icon-test dropdown-item"
                                                                    (click)="deleteTag(record)">{{l('Delete')}}</a>
                                                            </li>
        
                                                        </ul>
                                                    </div>
                                                </td>
                                                <td> {{transIndex(i)}}</td>
                                                <td>{{l(record.id)}}</td>
                                                <td>{{record.value}}</td>
                                                <td>
                                                    <span *ngIf="record.type==null">{{l('unknown')}}</span>
                                                    <span *ngIf="record.type!=null"></span>{{l(Type[record.type]||'')}}
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isFromBrand"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isFromBrand"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isSpecial"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isSpecial"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="emptymessage" let-records>
                                            <tr *ngIf="primengTableHelper.records">
                                                <td colspan="7">
                                                    <img class="emptymessage"
                                                        src="/assets/common/images/placeholder/tagHolder.png" />
                                                </td>
                                            </tr>
                                        </ng-template>
                                    </p-table>
                                    <div class="primeng-paging-container">
                                        <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                                            (onPageChange)="getTags($event)"
                                            [totalRecords]="primengTableHelper.totalRecordsCount"
                                            [rowsPerPageOptions]="primengTableHelper.predefinedRecordsCountPerPage">
                                        </p-paginator>
                                        <span class="total-records-count">
                                            {{l('TotalRecordsCount', primengTableHelper.totalRecordsCount)}}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </tab>
                        <tab heading="{{l('BrandTag')}}" class="pt-5" (selectTab)="tabChange(5)">
                            <div class="row">
                                <form class="horizontal-form" autocomplete="off" style="width:100%;">
                                    <div class="m-form">
                                        <div class="row align-items-center mb-4">
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <input [(ngModel)]="filterText" name="filterText" autoFocus
                                                            class="form-control m-input" (keyup.enter)="getTags()"
                                                            [placeholder]="l('SearchWithThreeDot')" type="text">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <select class="form-control" [(ngModel)]="tagType" name="tagType">
                                                            <option value selected>{{l("All")}}</option>
                                                            <option [value]="type" *ngFor="let type of Type2s">
                                                                {{l(Type[type])}}</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-2">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <button type="button" class="btn btn-primary"
                                                            [buttonBusy]="primengTableHelper.isLoading" (click)="getTags()">
                                                            <i class="la la-refresh"></i>
                                                            {{l("search")}}
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="row align-items-center">
                                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                    <p-table #dataTable (onLazyLoad)="getTags($event)" [value]="primengTableHelper.records"
                                        [rows]="primengTableHelper.defaultRecordsCountPerPage" [paginator]="false" [lazy]="true"
                                        [resizableColumns]="primengTableHelper.resizableColumns"
                                        [responsive]="primengTableHelper.isResponsive">
                                        <ng-template pTemplate="header">
                                            <tr>
                                                <th style="width:10%">{{l('Actions')}}</th>
                                                <th style="width:5%">{{l('RecordId')}}</th>
                                                <th>{{l('Id')}}</th>
                                                <th>{{l('name')}}</th>
                                                <th>{{l('type')}}</th>
                                                <th>{{l('isFromBrand')}}</th>
                                                <th>{{l('isSpecial')}}</th>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="body" let-record let-i="rowIndex">
                                            <tr>
                                                <td>
                                                    <div class="btn-group dropdown" dropdown normalizePosition>
                                                        <button class="dropdown-toggle btn btn-sm btn-primary" dropdownToggle
                                                            aria-haspopup="true" aria-expanded="false">
                                                            <i class="fa fa-cog"></i>
                                                            <span class="caret"></span> {{l("Actions")}}
                                                        </button>
                                                        <ul class="dropdown-menu" *dropdownMenu>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Edit')">
                                                                <a class="icon-bianji dropdown-item"
                                                                    (click)="editTag(record)">{{l('Edit')}}</a>
                                                            </li>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Delete')">
                                                                <a class="icon-icon-test dropdown-item"
                                                                    (click)="deleteTag(record)">{{l('Delete')}}</a>
                                                            </li>
        
                                                        </ul>
                                                    </div>
                                                </td>
                                                <td> {{transIndex(i)}}</td>
                                                <td>{{l(record.id)}}</td>
                                                <td>{{record.value}}</td>
                                                <td>
                                                    <span *ngIf="record.type==null">{{l('unknown')}}</span>
                                                    <span *ngIf="record.type!=null"></span>{{l(Type[record.type]||'')}}
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isFromBrand"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isFromBrand"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isSpecial"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isSpecial"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="emptymessage" let-records>
                                            <tr *ngIf="primengTableHelper.records">
                                                <td colspan="7">
                                                    <img class="emptymessage"
                                                        src="/assets/common/images/placeholder/tagHolder.png" />
                                                </td>
                                            </tr>
                                        </ng-template>
                                    </p-table>
                                    <div class="primeng-paging-container">
                                        <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                                            (onPageChange)="getTags($event)"
                                            [totalRecords]="primengTableHelper.totalRecordsCount"
                                            [rowsPerPageOptions]="primengTableHelper.predefinedRecordsCountPerPage">
                                        </p-paginator>
                                        <span class="total-records-count">
                                            {{l('TotalRecordsCount', primengTableHelper.totalRecordsCount)}}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </tab>
                        <tab heading="{{l('QuestionTag')}}" class="pt-5" (selectTab)="tabChange(6)">
                            <div class="row">
                                <form class="horizontal-form" autocomplete="off" style="width:100%;">
                                    <div class="m-form">
                                        <div class="row align-items-center mb-4">
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <input [(ngModel)]="filterText" name="filterText" autoFocus
                                                            class="form-control m-input" (keyup.enter)="getTags()"
                                                            [placeholder]="l('SearchWithThreeDot')" type="text">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <select class="form-control" [(ngModel)]="tagType" name="tagType">
                                                            <option value selected>{{l("All")}}</option>
                                                            <option [value]="type" *ngFor="let type of Type2s">
                                                                {{l(Type[type])}}</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-2">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <button type="button" class="btn btn-primary"
                                                            [buttonBusy]="primengTableHelper.isLoading" (click)="getTags()">
                                                            <i class="la la-refresh"></i>
                                                            {{l("search")}}
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="row align-items-center">
                                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                    <p-table #dataTable (onLazyLoad)="getTags($event)" [value]="primengTableHelper.records"
                                        [rows]="primengTableHelper.defaultRecordsCountPerPage" [paginator]="false" [lazy]="true"
                                        [resizableColumns]="primengTableHelper.resizableColumns"
                                        [responsive]="primengTableHelper.isResponsive">
                                        <ng-template pTemplate="header">
                                            <tr>
                                                <th style="width:10%">{{l('Actions')}}</th>
                                                <th style="width:5%">{{l('RecordId')}}</th>
                                                <th>{{l('Id')}}</th>
                                                <th>{{l('name')}}</th>
                                                <th>{{l('type')}}</th>
                                                <th>{{l('isFromBrand')}}</th>
                                                <th>{{l('isSpecial')}}</th>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="body" let-record let-i="rowIndex">
                                            <tr>
                                                <td>
                                                    <div class="btn-group dropdown" dropdown normalizePosition>
                                                        <button class="dropdown-toggle btn btn-sm btn-primary" dropdownToggle
                                                            aria-haspopup="true" aria-expanded="false">
                                                            <i class="fa fa-cog"></i>
                                                            <span class="caret"></span> {{l("Actions")}}
                                                        </button>
                                                        <ul class="dropdown-menu" *dropdownMenu>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Edit')">
                                                                <a class="icon-bianji dropdown-item"
                                                                    (click)="editTag(record)">{{l('Edit')}}</a>
                                                            </li>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Delete')">
                                                                <a class="icon-icon-test dropdown-item"
                                                                    (click)="deleteTag(record)">{{l('Delete')}}</a>
                                                            </li>
        
                                                        </ul>
                                                    </div>
                                                </td>
                                                <td> {{transIndex(i)}}</td>
                                                <td>{{l(record.id)}}</td>
                                                <td>{{record.value}}</td>
                                                <td>
                                                    <span *ngIf="record.type==null">{{l('unknown')}}</span>
                                                    <span *ngIf="record.type!=null"></span>{{l(Type[record.type]||'')}}
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isFromBrand"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isFromBrand"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isSpecial"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isSpecial"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="emptymessage" let-records>
                                            <tr *ngIf="primengTableHelper.records">
                                                <td colspan="7">
                                                    <img class="emptymessage"
                                                        src="/assets/common/images/placeholder/tagHolder.png" />
                                                </td>
                                            </tr>
                                        </ng-template>
                                    </p-table>
                                    <div class="primeng-paging-container">
                                        <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                                            (onPageChange)="getTags($event)"
                                            [totalRecords]="primengTableHelper.totalRecordsCount"
                                            [rowsPerPageOptions]="primengTableHelper.predefinedRecordsCountPerPage">
                                        </p-paginator>
                                        <span class="total-records-count">
                                            {{l('TotalRecordsCount', primengTableHelper.totalRecordsCount)}}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </tab>
                        <tab heading="{{l('CounterTag')}}" class="pt-5" (selectTab)="tabChange(7)">
                            <div class="row">
                                <form class="horizontal-form" autocomplete="off" style="width:100%;">
                                    <div class="m-form">
                                        <div class="row align-items-center mb-4">
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <input [(ngModel)]="filterText" name="filterText" autoFocus
                                                            class="form-control m-input" (keyup.enter)="getTags()"
                                                            [placeholder]="l('SearchWithThreeDot')" type="text">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <select class="form-control" [(ngModel)]="tagType" name="tagType">
                                                            <option value selected>{{l("All")}}</option>
                                                            <option [value]="type" *ngFor="let type of Type2s">
                                                                {{l(Type[type])}}</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-2">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <button type="button" class="btn btn-primary"
                                                            [buttonBusy]="primengTableHelper.isLoading" (click)="getTags()">
                                                            <i class="la la-refresh"></i>
                                                            {{l("search")}}
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="row align-items-center">
                                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                    <p-table #dataTable (onLazyLoad)="getTags($event)" [value]="primengTableHelper.records"
                                        [rows]="primengTableHelper.defaultRecordsCountPerPage" [paginator]="false" [lazy]="true"
                                        [resizableColumns]="primengTableHelper.resizableColumns"
                                        [responsive]="primengTableHelper.isResponsive">
                                        <ng-template pTemplate="header">
                                            <tr>
                                                <th style="width:10%">{{l('Actions')}}</th>
                                                <th style="width:5%">{{l('RecordId')}}</th>
                                                <th>{{l('Id')}}</th>
                                                <th>{{l('name')}}</th>
                                                <th>{{l('type')}}</th>
                                                <th>{{l('isFromBrand')}}</th>
                                                <th>{{l('isSpecial')}}</th>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="body" let-record let-i="rowIndex">
                                            <tr>
                                                <td>
                                                    <div class="btn-group dropdown" dropdown normalizePosition>
                                                        <button class="dropdown-toggle btn btn-sm btn-primary" dropdownToggle
                                                            aria-haspopup="true" aria-expanded="false">
                                                            <i class="fa fa-cog"></i>
                                                            <span class="caret"></span> {{l("Actions")}}
                                                        </button>
                                                        <ul class="dropdown-menu" *dropdownMenu>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Edit')">
                                                                <a class="icon-bianji dropdown-item"
                                                                    (click)="editTag(record)">{{l('Edit')}}</a>
                                                            </li>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Delete')">
                                                                <a class="icon-icon-test dropdown-item"
                                                                    (click)="deleteTag(record)">{{l('Delete')}}</a>
                                                            </li>
        
                                                        </ul>
                                                    </div>
                                                </td>
                                                <td> {{transIndex(i)}}</td>
                                                <td>{{l(record.id)}}</td>
                                                <td>{{record.value}}</td>
                                                <td>
                                                    <span *ngIf="record.type==null">{{l('unknown')}}</span>
                                                    <span *ngIf="record.type!=null"></span>{{l(Type[record.type]||'')}}
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isFromBrand"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isFromBrand"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isSpecial"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isSpecial"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="emptymessage" let-records>
                                            <tr *ngIf="primengTableHelper.records">
                                                <td colspan="7">
                                                    <img class="emptymessage"
                                                        src="/assets/common/images/placeholder/tagHolder.png" />
                                                </td>
                                            </tr>
                                        </ng-template>
                                    </p-table>
                                    <div class="primeng-paging-container">
                                        <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                                            (onPageChange)="getTags($event)"
                                            [totalRecords]="primengTableHelper.totalRecordsCount"
                                            [rowsPerPageOptions]="primengTableHelper.predefinedRecordsCountPerPage">
                                        </p-paginator>
                                        <span class="total-records-count">
                                            {{l('TotalRecordsCount', primengTableHelper.totalRecordsCount)}}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </tab>
                        <tab heading="{{l('WechatPublicMessageTag')}}" class="pt-5" (selectTab)="tabChange(8)">
                            <div class="row">
                                <form class="horizontal-form" autocomplete="off" style="width:100%;">
                                    <div class="m-form">
                                        <div class="row align-items-center mb-4">
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <input [(ngModel)]="filterText" name="filterText" autoFocus
                                                            class="form-control m-input" (keyup.enter)="getTags()"
                                                            [placeholder]="l('SearchWithThreeDot')" type="text">
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-3">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <select class="form-control" [(ngModel)]="tagType" name="tagType">
                                                            <option value selected>{{l("All")}}</option>
                                                            <option [value]="type" *ngFor="let type of Type2s">
                                                                {{l(Type[type])}}</option>
                                                        </select>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="col-2">
                                                <div class="form-group m-form__group align-items-center">
                                                    <div class="input-group">
                                                        <button type="button" class="btn btn-primary"
                                                            [buttonBusy]="primengTableHelper.isLoading" (click)="getTags()">
                                                            <i class="la la-refresh"></i>
                                                            {{l("search")}}
                                                        </button>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </form>
                            </div>
                            <div class="row align-items-center">
                                <div class="primeng-datatable-container" [busyIf]="primengTableHelper.isLoading">
                                    <p-table #dataTable (onLazyLoad)="getTags($event)" [value]="primengTableHelper.records"
                                        [rows]="primengTableHelper.defaultRecordsCountPerPage" [paginator]="false" [lazy]="true"
                                        [resizableColumns]="primengTableHelper.resizableColumns"
                                        [responsive]="primengTableHelper.isResponsive">
                                        <ng-template pTemplate="header">
                                            <tr>
                                                <th style="width:10%">{{l('Actions')}}</th>
                                                <th style="width:5%">{{l('RecordId')}}</th>
                                                <th>{{l('Id')}}</th>
                                                <th>{{l('name')}}</th>
                                                <th>{{l('type')}}</th>
                                                <th>{{l('isFromBrand')}}</th>
                                                <th>{{l('isSpecial')}}</th>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="body" let-record let-i="rowIndex">
                                            <tr>
                                                <td>
                                                    <div class="btn-group dropdown" dropdown normalizePosition>
                                                        <button class="dropdown-toggle btn btn-sm btn-primary" dropdownToggle
                                                            aria-haspopup="true" aria-expanded="false">
                                                            <i class="fa fa-cog"></i>
                                                            <span class="caret"></span> {{l("Actions")}}
                                                        </button>
                                                        <ul class="dropdown-menu" *dropdownMenu>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Edit')">
                                                                <a class="icon-bianji dropdown-item"
                                                                    (click)="editTag(record)">{{l('Edit')}}</a>
                                                            </li>
                                                            <li *ngIf="isGranted('Pages.Tenant.Tags.Delete')">
                                                                <a class="icon-icon-test dropdown-item"
                                                                    (click)="deleteTag(record)">{{l('Delete')}}</a>
                                                            </li>
        
                                                        </ul>
                                                    </div>
                                                </td>
                                                <td> {{transIndex(i)}}</td>
                                                <td>{{l(record.id)}}</td>
                                                <td>{{record.value}}</td>
                                                <td>
                                                    <span *ngIf="record.type==null">{{l('unknown')}}</span>
                                                    <span *ngIf="record.type!=null"></span>{{l(Type[record.type]||'')}}
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isFromBrand"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isFromBrand"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
                                                <td>
                                                    <span *ngIf="record.isSpecial"
                                                        class="label label-success label-inline">{{l("true")}}</span>
                                                    <span *ngIf="!record.isSpecial"
                                                        class="label label-dark label-inline">{{l('false')}}</span>
                                                </td>
        
                                            </tr>
                                        </ng-template>
                                        <ng-template pTemplate="emptymessage" let-records>
                                            <tr *ngIf="primengTableHelper.records">
                                                <td colspan="7">
                                                    <img class="emptymessage"
                                                        src="/assets/common/images/placeholder/tagHolder.png" />
                                                </td>
                                            </tr>
                                        </ng-template>
                                    </p-table>
                                    <div class="primeng-paging-container">
                                        <p-paginator [rows]="primengTableHelper.defaultRecordsCountPerPage" #paginator
                                            (onPageChange)="getTags($event)"
                                            [totalRecords]="primengTableHelper.totalRecordsCount"
                                            [rowsPerPageOptions]="primengTableHelper.predefinedRecordsCountPerPage">
                                        </p-paginator>
                                        <span class="total-records-count">
                                            {{l('TotalRecordsCount', primengTableHelper.totalRecordsCount)}}
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </tab>
                    </tabset>

                    

                </div>
            </div>
        </div>

        <createOrEditTagModal #createOrEditTagModal (modalSave)="getTags()"></createOrEditTagModal>
    </div>

</div>